From 89e2cb7d7699c162f3beb73f0d07be6253d710e8 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 21 Dec 2003 09:11:51 +0000 Subject: [PATCH] Doc a few missing targets. Make chkdoc grouchier. --- gpsbabel/README | 34 +++++++++++++++++++++++++++++++++- gpsbabel/chkdoc | 28 +++++++++++++++++++++------- 2 files changed, 54 insertions(+), 8 deletions(-) diff --git a/gpsbabel/README b/gpsbabel/README index c544e237a..6ae77daae 100644 --- a/gpsbabel/README +++ b/gpsbabel/README @@ -434,12 +434,27 @@ THE FORMATS http://www.navicache.com/cgi-bin/ib312a/ikonboard.cgi?act=ST;f=23;t=334 - PsiTrex + PsiTrex This is a text format created by KuDaTa's PsiTrex program for the Psion PDAs. The format can't be readily handled by XCSV, so this format is handled explicitly. Waypoints, routes and tracks are all handled, with icon names used corresponding to verison 1.13 of PsiTrex. + + geoniche + + Geoniche is a Palm/OS application oriented for the off-road user. + This module was contributed by Rick Richardson. + + http://www.nwlink.com/~raydar/GeoNiche/ + + gpl + + This is the 'gpl' format as used in Delorme mapping products. + It is a track format and contains little more than the tracklog + of a GPS that was attached while driving. + + http://www.frontiernet.net/~werner/gps/ DATA FILTERS @@ -606,6 +621,23 @@ DATA FILTERS gpsbabel -r -i saroute -f RoadTrip.anr -x simplify,count=50 \ -o magellan -F grocery.rte + REVERSE + + The reverse filter is used to reverse tracks and routes. It's + mostly useful for those few formats where track/route sequence matters + and there isn't a way to reverse them using the program itself. + + The reversal is performed in the laziest way possible. + Timestamps are kept with the original waypoints so the resulting + track or route will have the interesting characteristic that + time runs backwards. This tends to make Magellan Mapsend, + in particular, do a wierd thing and place each waypoint on a + separate day. + + Additionally, if you're using this to reverse a route that + navigates, say, an exit ramp or a one way street, you will be in + for unpleasant ride. application cares about timestamps + COMMON USAGE Invocation was meant to be flexible. Unfortunately, that can diff --git a/gpsbabel/chkdoc b/gpsbabel/chkdoc index ee7409a51..b3a409b70 100755 --- a/gpsbabel/chkdoc +++ b/gpsbabel/chkdoc @@ -1,29 +1,43 @@ ECODE=0 -./gpsbabel -^ | -while read FMT -do +checkit() { export ECODE - set -- $FMT TYPE=$1 + STY=$2 if ! grep -q $TYPE ~/src/babelweb/capabilities.html then - echo $TYPE is not documented in capabilities.html. + echo $STY $TYPE is not documented in capabilities.html. ECODE=1 fi if ! grep -qi $TYPE ~/src/babelweb/changes.html then - echo $TYPE is not documented in changes.html. + echo $STY $TYPE is not documented in changes.html. ECODE=1 fi if ! grep -qi "^ $TYPE$" README then - echo $TYPE is not documented in README. + echo $STY $TYPE is not documented in README. ECODE=1 fi +} + +./gpsbabel -^ | +while read FMT +do + set -- $FMT + TYPE=$1 + checkit $TYPE format +done +./gpsbabel -% | +while read FMT +do + set -- $FMT + TYPE=$1 + checkit $TYPE filter done + exit $ECODE -- 2.30.2